package com.codyy.lib.base.application

import android.os.Bundle
import android.util.Log
import com.codyy.lib_common.base.activity.BaseActivity
import org.koin.android.ext.android.getKoin

class MainActivity : BaseActivity() {
    // Inject property from koin.properties
    val propertyTitle: String? = getKoin().getProperty("title")
    override fun getLayoutRes(): Int =R.layout.activity_main
    override fun onCreate(savedInstanceState: Bundle?) {
        getKoin().setProperty("token","hello")
        super.onCreate(savedInstanceState)
    }
    override fun initView() {
    }

    override fun initData() {
        super.initData()
        Log.e("propertyTitle",propertyTitle)
    }
}
